<form class="example-form">
    <h2 mat-dialog-title>邀请组员</h2>
    <mat-dialog-content>
        <mat-form-field class="example-full-width">
            <input type="text" placeholder="组员姓名" matInput [matAutocomplete]="auto">
            <mat-autocomplete #auto="matAutocomplete">
                <mat-option *ngFor="let option of options" [value]="option">
                    {{option}}
                </mat-option>
            </mat-autocomplete>
        </mat-form-field>
    </mat-dialog-content>
    <mat-dialog-actions>
        <button type="button" mat-button color="primary">保存</button>
        <button type="button" mat-button mat-dialog-close>取消</button>
    </mat-dialog-actions>
</form>